package com.yunxi.yunxicaiproject.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.ai.tool.annotation.ToolParam;

/**
 * <p>
 * 班级信息表
 * </p>
 *
 * @author azraelkaxi
 * @since 2025-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ai_class")
public class AiClass implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 班级ID，主键，自增长
     */
    @ToolParam(required = false, description = "班级ID")
    @TableId(value = "class_id", type = IdType.AUTO)
    private Integer classId;

    /**
     * 班级名称，如计算机2101
     */
    @ToolParam(required = false, description = "班级名")
    private String className;

    /**
     * 专业名称，如计算机科学与技术
     */
    @ToolParam(required = false, description = "专业名")
    private String major;

    /**
     * 年级，如2021级
     */
    @ToolParam(required = false, description = "年级名")
    private String grade;


}
